From 5d1a5ac216b05956766d36e52d7091037fcb9f32 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Fri, 5 Oct 2007 08:18:43 +0000 Subject: [PATCH] Revert the change on 2007-04-29 (Also check the default handler when 2007-10-05 Murray Cumming * gtk/gtkprintoperation.c: (print_pages_idle): Revert the change on 2007-04-29 (Also check the default handler when deciding whether to emit the paginate signal. (#345345, Yevgen Muntyan)). This stopped printing from working in gtkmm, and is apparently not appropriate anyway. Bug #482089. svn path=/trunk/; revision=18885 --- ChangeLog | 9 +++++++++ gtk/gtkprintoperation.c | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6c8c5d167..bda668c09e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-10-05 Murray Cumming + + * gtk/gtkprintoperation.c: (print_pages_idle): + Revert the change on 2007-04-29 ("Also check + the default handler when deciding whether to emit the + paginate signal. (#345345, Yevgen Muntyan)"). + This stopped printing from working in gtkmm, and is apparently + not appropriate anyway. Bug #482089. + 2007-10-05 Hiroyuki Ikezoe * gtk/gtkdnd.c: Use g_object_ref() instead of gtk_widget_ref(). diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 4519cd24fb..5d2740f5a6 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -2080,8 +2080,7 @@ print_pages_idle (gpointer user_data) goto out; } - if (GTK_PRINT_OPERATION_GET_CLASS (data->op)->paginate != NULL || - g_signal_has_handler_pending (data->op, signals[PAGINATE], 0, FALSE)) + if (g_signal_has_handler_pending (data->op, signals[PAGINATE], 0, FALSE)) { gboolean paginated = FALSE; -- 2.30.2